#pragma once

#include <string>
using std::string;

class CAnimationMenu
{

public:

	int		 m_nCurrentFrame;
	string	 m_nCurrentAnimation; //string instead?
	float	 m_fTimeOnFrame;
	string	 m_nNextAnimation;


	int GetCurrentFrame(void){return m_nCurrentFrame;};
	float GetFrameTime(void){return m_fTimeOnFrame;};
	string GetName(void){return m_nCurrentAnimation;};
	string GetNext(void){return m_nNextAnimation;};

	void ModFrame(int value) { m_nCurrentFrame+=value;};
	void ModTime(float value) {m_fTimeOnFrame+=value;};
	void SetFrame(int value) { m_nCurrentFrame=value;};
	void SetTime(float value) {m_fTimeOnFrame=value;};
	void SetName(string name){m_nCurrentAnimation=name;};
	void SetNext(string name){m_nNextAnimation=name;};

	//could need a max frames?
	CAnimationMenu(void);
	~CAnimationMenu(void);

	void Update(float fElapsedTime);

};

